<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.10"/>
<title>My Project: port_info.hpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">My Project
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.10 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">port_info.hpp</div>  </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="preprocessor">#ifndef _PORT_INFO_HPP_</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="preprocessor">#define _PORT_INFO_HPP_  1</span></div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="preprocessor">#include &lt;typeinfo&gt;</span></div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="preprocessor">#include &lt;typeindex&gt;</span></div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="preprocessor">#include &lt;map&gt;</span></div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="preprocessor">#include &lt;functional&gt;</span></div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="preprocessor">#include &lt;cstddef&gt;</span></div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="preprocessor">#include &lt;memory&gt;</span></div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="preprocessor">#include &lt;cassert&gt;</span></div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;</div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="preprocessor">#include &quot;ringbuffertypes.hpp&quot;</span></div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="preprocessor">#include &quot;port_info_types.hpp&quot;</span></div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="preprocessor">#include &quot;fifo.hpp&quot;</span></div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;</div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceraft.html">raft</a>{</div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;   <span class="keyword">class </span>kernel;</div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;}</div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;</div>
<div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="struct_port_info.html">   39</a></span>&#160;<span class="keyword">struct </span><a class="code" href="struct_port_info.html">PortInfo</a></div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;{</div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;   <a class="code" href="struct_port_info.html">PortInfo</a>();</div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;</div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;   <a class="code" href="struct_port_info.html">PortInfo</a>( <span class="keyword">const</span> std::type_info &amp;the_type );</div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;   </div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;   <a class="code" href="struct_port_info.html">PortInfo</a>( <span class="keyword">const</span> std::type_info &amp;the_type,</div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;             <span class="keywordtype">void</span> * <span class="keyword">const</span> ptr,</div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;             <span class="keyword">const</span> std::size_t nitems,</div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;             <span class="keyword">const</span> std::size_t start_index );</div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;                                            </div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;   <a class="code" href="struct_port_info.html">PortInfo</a>( <span class="keyword">const</span> <a class="code" href="struct_port_info.html">PortInfo</a> &amp;other );</div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;   </div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;</div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;   <span class="keyword">virtual</span> <a class="code" href="struct_port_info.html#a36e5aca1b7b20aace809490cebbc2d72">~PortInfo</a>();</div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;   FIFO* <a class="code" href="struct_port_info.html#a483d162fbe356e07381c6c5cfccb4f48">getFIFO</a>();</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;   <span class="keywordtype">void</span> <a class="code" href="struct_port_info.html#a43a57cd624dcc44ccd9dcaba1d07a000">setFIFO</a>( FIFO * <span class="keyword">const</span> in );</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;   </div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;   FIFO            *fifo_a  = <span class="keyword">nullptr</span>;</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;   FIFO            *fifo_b  = <span class="keyword">nullptr</span>;</div>
<div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="struct_port_info.html#a669818f0fde1da7b4a294c46e08d5980">   78</a></span>&#160;   std::type_index <a class="code" href="struct_port_info.html#a669818f0fde1da7b4a294c46e08d5980">type</a>;</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;</div>
<div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="struct_port_info.html#a714592b5ab1fa47b599903639b102a66">   88</a></span>&#160;   std::map&lt; Type::RingBufferType , instr_map_t* &gt; <a class="code" href="struct_port_info.html#a714592b5ab1fa47b599903639b102a66">const_map</a>;</div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;</div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;</div>
<div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="struct_port_info.html#a6b7e8758b84288a4378233251252be77">   96</a></span>&#160;   split_factory_t   <a class="code" href="struct_port_info.html#a6b7e8758b84288a4378233251252be77">split_func</a>      = <span class="keyword">nullptr</span>;</div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;   join_factory_t    join_func       = <span class="keyword">nullptr</span>;</div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;</div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;   <a class="code" href="classraft_1_1kernel.html">raft::kernel</a>     *my_kernel       = <span class="keyword">nullptr</span>;</div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;   std::string       my_name         = <span class="stringliteral">&quot;&quot;</span>;</div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;   </div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;   <a class="code" href="classraft_1_1kernel.html">raft::kernel</a>     *other_kernel    = <span class="keyword">nullptr</span>;</div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;   std::string       other_name      = <span class="stringliteral">&quot;&quot;</span>;</div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;   </div>
<div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="struct_port_info.html#a5da81ef07f28858445aa768700948cf2">  106</a></span>&#160;   <span class="keywordtype">bool</span>              <a class="code" href="struct_port_info.html#a5da81ef07f28858445aa768700948cf2">use_my_allocator</a>= <span class="keyword">false</span>;</div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;   <span class="keywordtype">bool</span>              out_of_order    = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;   <span class="keywordtype">void</span>             *existing_buffer = <span class="keyword">nullptr</span>;</div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;   std::size_t       nitems          = 0;</div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;   std::size_t       start_index     = 0;</div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;   std::size_t       fixed_buffer_size = 0;   </div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;};</div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* END _PORT_INFO_HPP_ */</span><span class="preprocessor"></span></div>
<div class="ttc" id="struct_port_info_html_a36e5aca1b7b20aace809490cebbc2d72"><div class="ttname"><a href="struct_port_info.html#a36e5aca1b7b20aace809490cebbc2d72">PortInfo::~PortInfo</a></div><div class="ttdeci">virtual ~PortInfo()</div><div class="ttdef"><b>Definition:</b> port_info.cpp:42</div></div>
<div class="ttc" id="struct_port_info_html_a714592b5ab1fa47b599903639b102a66"><div class="ttname"><a href="struct_port_info.html#a714592b5ab1fa47b599903639b102a66">PortInfo::const_map</a></div><div class="ttdeci">std::map&lt; Type::RingBufferType, instr_map_t * &gt; const_map</div><div class="ttdef"><b>Definition:</b> port_info.hpp:88</div></div>
<div class="ttc" id="struct_port_info_html_a5da81ef07f28858445aa768700948cf2"><div class="ttname"><a href="struct_port_info.html#a5da81ef07f28858445aa768700948cf2">PortInfo::use_my_allocator</a></div><div class="ttdeci">bool use_my_allocator</div><div class="ttdef"><b>Definition:</b> port_info.hpp:106</div></div>
<div class="ttc" id="struct_port_info_html_a43a57cd624dcc44ccd9dcaba1d07a000"><div class="ttname"><a href="struct_port_info.html#a43a57cd624dcc44ccd9dcaba1d07a000">PortInfo::setFIFO</a></div><div class="ttdeci">void setFIFO(FIFO *const in)</div><div class="ttdef"><b>Definition:</b> port_info.cpp:64</div></div>
<div class="ttc" id="struct_port_info_html_a6b7e8758b84288a4378233251252be77"><div class="ttname"><a href="struct_port_info.html#a6b7e8758b84288a4378233251252be77">PortInfo::split_func</a></div><div class="ttdeci">split_factory_t split_func</div><div class="ttdef"><b>Definition:</b> port_info.hpp:96</div></div>
<div class="ttc" id="struct_port_info_html"><div class="ttname"><a href="struct_port_info.html">PortInfo</a></div><div class="ttdef"><b>Definition:</b> port_info.hpp:39</div></div>
<div class="ttc" id="struct_port_info_html_a483d162fbe356e07381c6c5cfccb4f48"><div class="ttname"><a href="struct_port_info.html#a483d162fbe356e07381c6c5cfccb4f48">PortInfo::getFIFO</a></div><div class="ttdeci">FIFO * getFIFO()</div><div class="ttdef"><b>Definition:</b> port_info.cpp:49</div></div>
<div class="ttc" id="struct_port_info_html_a669818f0fde1da7b4a294c46e08d5980"><div class="ttname"><a href="struct_port_info.html#a669818f0fde1da7b4a294c46e08d5980">PortInfo::type</a></div><div class="ttdeci">std::type_index type</div><div class="ttdef"><b>Definition:</b> port_info.hpp:78</div></div>
<div class="ttc" id="classraft_1_1kernel_html"><div class="ttname"><a href="classraft_1_1kernel.html">raft::kernel</a></div><div class="ttdef"><b>Definition:</b> kernel.hpp:57</div></div>
<div class="ttc" id="namespaceraft_html"><div class="ttname"><a href="namespaceraft.html">raft</a></div><div class="ttdef"><b>Definition:</b> globalmap.cpp:3</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.10
</small></address>
</body>
</html>
